GDK W32: set update frequency and timestamp
authorРуслан Ижбулатов <lrn1986@gmail.com>
Mon, 9 Apr 2018 19:07:10 +0000 (19:07 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Mon, 9 Apr 2018 19:07:10 +0000 (19:07 +0000)
commitc7ef6970295c812774a09c31909007dd581a27a1
treed7d77c11c7d56d73ccb4a88c83a967152bf76f41
parentb7291ce533d72f336620576fbeb4b39e9920c2e1
GDK W32: set update frequency and timestamp

There is no easily apparent way of being notified when frame updates
happene exactly, so we just query frame info at the end of each paint.
If we query too often (faster than DWM refresh rate), we just get
the same values twice in a row, but that is, hopefully, highly unlikely.
gdk/win32/gdksurface-win32.c